/**
 * @description a tabs wheel
 * @author tao
 */


class Tab {
    _options = {
        maxWidth: '7.5rem',
        height: '0.8rem',
        color: '#ffffff',
        fontSize: '0.3rem',
        borderBottom: `0.06rem solid #0998a1`

    }

    constructor(options) {
        options = Object.assign(_options,options)
    }

    _tab = []

    init() {

    }


    /**
     * @param {Object} tab
     * @returns {Tab}
     */
    push(tab) {
        tab = Object.assign({
            word: '测试',
            height: options.height,
            color: options.color,
            fontSize: '0.3rem',
            borderBottom: '0.06rem solid #0998a1',
        }, tab)



        return this
    }

}

